package cn.maihe.elg.operation;

import org.mybatis.spring.annotation.MapperScan;
import org.slf4j.LoggerFactory;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.scheduling.annotation.EnableScheduling;

/**
 *
 */
@SpringBootApplication()
@ComponentScan(basePackages = "cn.maihe.elg")
@MapperScan(basePackages = {"cn.maihe.elg.operation.repository"})
@ServletComponentScan
@EnableScheduling
public class ElgManageWebApplication {

    public static void main(String[] args) {
        SpringApplication.run(ElgManageWebApplication.class, args);
        LoggerFactory.getLogger(ElgManageWebApplication.class).info("==========电子保函平台[直开式]后管服务启动成功==========");
    }
}
